package com.groupbuying.storeinternal.controller.forManage;


import com.groupbuying.storeinternal.service.StoreCapitalVirtualAccountDetailService;
import com.groupbuying.storeinternal.utils.PageUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @anthor wenguoqiang
 * @date: 2019/04/03 17:04
 * @company 够样
 * @des
 **/
@RestController
@RequestMapping("/storeVirtualAccountManage")
public class StoreVirtualAccountManageController {

    private static Logger logger = LoggerFactory.getLogger(StoreVirtualAccountManageController.class);

    @Autowired
    private StoreCapitalVirtualAccountDetailService storeCapitalVirtualAccountDetailService;
    /**
     * 接口描述
     * @author wenguoqiang
     * @date 上午 11:55 2019/11/6 0006
     * @des 退款密码列表
     * @tar 调用方(客户端小程序,服务商小程序,store后台,admin后台,api内部调用)
     */
    @GetMapping("/getFinancialPwdList")
    public PageUtils getFinancialPwdList(@RequestParam Map<String, Object> params){
        logger.error("StoreVirtualAccountManageController-->getFinancialPwdList params:::"+params);
        return storeCapitalVirtualAccountDetailService.getFinancialPwdList(params);
    }

}
